package com.yl.paymanagement.pojo;

import com.alipay.api.domain.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class YlPayModel {

     //总金额
     //@NotEmpty(message = "商品总价不能为空")
     private BigDecimal total_amount;

     //订单标题
     //@NotEmpty(message = "付款描述不能为空")
     private String subject;

     //商品列表
     //@NotEmpty(message = "商品列表不能为空")
     private List<Goods> goodsList;

     private String payType;

     private YlFrontAccount ylFrontAccount;
}
